home *** CD-ROM | disk | FTP | other *** search
-
- FLI/AVI/QuickTime compressed
- ============================
-
- This is a Replay decompressor which will decompress various FLI, AVI and
- QuickTime formats after they have been converted to Replay.
-
- The first short word (16 bits) in a frame is the compression type, the
- next word (32 bits) is the total size of the data for the frame. This allows
- the decompressor to skip unknown compression formats.
-
-
-
- Currently supported is:
-
- Format Compression type
- AVI RGB (8 bit) 0
- AVI CRAM (8 bit) 8
- AVI CRAM (16 bit) 16
- FLI/FLC (8 bit) 128
- Dummy frame 255
- QuickTime RAW (8 bit) 0 (as AVI RGB)
- QuickTime RLE (8 bit) 256
- QuickTime RLE (16 bit) 260
- QuickTime RPZA (16 bit) 264
-
-
- AVI
- ---
- CRAM 8: The first 256 short words hold the palette. The follows the
- compressed data, copied directly from the AVI file.
-
- CRAM 16: The encoded data is copied directly from the AVI file.
- This compression format has NOT been tested yet.
-
- RGB 8: The first 256 short words hold the palette for the frame. Then
- follows the pixels, 8 bits each.
-
-
- QuickTime
- ---------
- RLE 8: First comes 256 short words with the palette, then follows
- the compressed data.
-
- RLE 16: The encoded data is copied directly from the QuickTime file.
- This compression format has NOT been tested yet.
-
- RAW 8: This is identical to RGB 8 for AVI.
-
- RPZA 16: The encoded data is copied directly from the QuickTime file.
- Doesn't work with all files.
-
-
- FLI/FLC
- -------
- The Replay frame is simply the compressed data for the FLI frame.
-
-
- --------------------------------------------------------------------------
- Notice: Sometimes some files cannot be played by the usual Replay players,
- although they can be decompressed and read by CineWorks.
-
- Most of the code is written without any kind of speed-optimization,
- so you may not be able to playback large movies in realtime.
- Especially the QuickTime formats are very slow, as all colours are
- in bgr format, rather than in rgb as used by Acorn, so all colours
- have to be 'reversed'. Also, QuickTime files cannot be read word by
- word, but must be read byte by byte, which further slows down the
- decoding.
-
- A frame should always use an even number of bytes.
-